Memory Details are not showing in Linux machine¶
Motadata pulls memory details using: free –m
If your Memory widgets are empty, please make sure of free -m commands on targeted machine. Below counters are being monitored with the help of free –m command.
Installed Memory (MB) = total as shown in above example.
Used Memory (MB) = total – (free) – (buffers) – (cache)
Free Memory (MB) = as shown in above example.
Memory utilization (%) = ((used)*100)/total
Overall used Memory = buffer memory + Used Memory
Overall Free Memory = Overall used memory - free memory
Overall Memory (%) = (buffers + (used*100))/total
Buffer Memory (MB) = as shown in above example.
Cashed (MB) = as shown in above example.
Swap Memory:
Free swap Memory (MB) = (Total – Used)
Swap Memory (MB) = Total as shown in above example.
Used Swap (MB) = as shown in above example.
Swap Memory (%) = (used * 100)/total